<p><%= link_to h(group.name), group %>, <%= link_to 'Leave Group', {:controller => :user_groups, :action => :leave_group, :id => group}, :confirm => 'Are you sure?', :method => :post %></p>